From 687745b8ebf98915d285a1e1092f44ed0e25ac9d Mon Sep 17 00:00:00 2001 From: oliskoli Date: Mon, 1 Sep 2008 21:06:07 +0000 Subject: [PATCH] unicsv: Fix memory override with sscanf. --- unicsv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unicsv.c b/unicsv.c index 3b4909158..3ffb00cd2 100644 --- a/unicsv.c +++ b/unicsv.c @@ -323,7 +323,7 @@ unicsv_parse_time(const char *str, int *msec, int *date) int hour, min, ct, sec; int consumed = 0; double ms; - char sep[1]; + char sep[2]; int ldate; /* If we have somethine we're pretty sure is a date, parse that -- 2.30.2